Created
December 7, 2013 06:09
-
-
Save aeantipov/7837833 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
diff --git a/CMakeLists.txt b/CMakeLists.txt | |
index eba818a..cfbeaee 100644 | |
--- a/CMakeLists.txt | |
+++ b/CMakeLists.txt | |
@@ -398,6 +398,7 @@ if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin") | |
configure_file(./cmake/TRIQSConfig.cmake.in Config/TRIQSConfig.cmake @ONLY) | |
else() | |
configure_file(./cmake/TRIQSConfig.cmake.in Config/TRIQSConfig1.cmake @ONLY ) | |
+ find_package(Python) | |
EXEC_PYTHON_SCRIPT( "import re;open('${CMAKE_CURRENT_BINARY_DIR}/Config/TRIQSConfig.cmake','w').write(re.sub(r';*\\s*-framework\\s+([a-zA-Z_][a-zA-Z_0-9]*)',r' \"-framework \\1 | |
endif() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment