Last active
May 23, 2020 04:03
-
-
Save 1480c1/83d82274f3ba36b1e7942fc4ab8be448 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From ffd3560c0ae9acfe96c687377653c8644db6bf96 Mon Sep 17 00:00:00 2001 | |
From: Christopher Degawa <ccom@randomderp.com> | |
Date: Sat, 23 May 2020 04:02:28 +0000 | |
Subject: [PATCH] CMake: Set MediaInfoLib_SOURCES_PATH as a cache variable | |
Signed-off-by: Christopher Degawa <ccom@randomderp.com> | |
--- | |
Project/CMake/CMakeLists.txt | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
diff --git a/Project/CMake/CMakeLists.txt b/Project/CMake/CMakeLists.txt | |
index 6b03d575..0630f279 100644 | |
--- a/Project/CMake/CMakeLists.txt | |
+++ b/Project/CMake/CMakeLists.txt | |
@@ -75,7 +75,7 @@ else() | |
set(MediaInfoLib_CONFIG_INSTALL_DIR "${LIB_INSTALL_DIR}/cmake/mediainfolib") | |
endif() | |
-set(MediaInfoLib_SOURCES_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../Source) | |
+set(MediaInfoLib_SOURCES_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../Source CACHE PATH "Path to Source folder") | |
# On Windows debug library should have 'd' postfix. | |
if(WIN32) | |
-- | |
2.25.1 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 849cffd27bb633538c3172c3bc176cb296c11c44 Mon Sep 17 00:00:00 2001 | |
From: Christopher Degawa <ccom@randomderp.com> | |
Date: Sat, 23 May 2020 03:48:50 +0000 | |
Subject: [PATCH] CMake: Set ZenLib_SOURCES_PATH as a cache variable | |
Signed-off-by: Christopher Degawa <ccom@randomderp.com> | |
--- | |
Project/CMake/CMakeLists.txt | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
diff --git a/Project/CMake/CMakeLists.txt b/Project/CMake/CMakeLists.txt | |
index 8e431b5..f5d1cbc 100644 | |
--- a/Project/CMake/CMakeLists.txt | |
+++ b/Project/CMake/CMakeLists.txt | |
@@ -17,7 +17,7 @@ option(ENABLE_UNICODE "Enable unicode support" ON) | |
option(LARGE_FILES "Enable large files support" ON) | |
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/Modules/") | |
-set(ZenLib_SOURCES_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../Source) | |
+set(ZenLib_SOURCES_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../Source CACHE PATH "Path to Source folder") | |
# On Windows debug library should have 'd' postfix. | |
if(WIN32) | |
-- | |
2.25.1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment