Warning, /graphics/digikam/project/bundles/3rdparty/ext_drmingw/drmingw-coreonly.patch is written in an unsupported language. File is not indexed.
0001 diff --git a/CMakeLists.txt b/CMakeLists.txt 0002 index b50b739..f34f0d8 100644 0003 --- a/CMakeLists.txt 0004 +++ b/CMakeLists.txt 0005 @@ -148,8 +148,8 @@ include_directories (${CMAKE_CURRENT_SOURCE_DIR}/include) 0006 install (FILES include/exchndl.h DESTINATION include) 0007 0008 add_subdirectory (src) 0009 -add_subdirectory (sample) 0010 -add_subdirectory (tests) 0011 +#add_subdirectory (sample) 0012 +#add_subdirectory (tests) 0013 0014 0015 ############################################################################## 0016 diff --git a/cmake/StaticCRT.cmake b/cmake/StaticCRT.cmake 0017 index 1e9c90a..6cb5b06 100644 0018 --- a/cmake/StaticCRT.cmake 0019 +++ b/cmake/StaticCRT.cmake 0020 @@ -19,17 +19,17 @@ if (MINGW) 0021 endif () 0022 0023 # Statically link Posix threads when detected. 0024 - execute_process ( 0025 - COMMAND "${CMAKE_COMMAND}" -E echo "#include <thread>\n#ifdef _GLIBCXX_HAS_GTHREADS\n#error _GLIBCXX_HAS_GTHREADS\n#endif" 0026 - COMMAND "${CMAKE_CXX_COMPILER}" -x c++ -E - 0027 - RESULT_VARIABLE STATUS_CXX11_THREADS 0028 - OUTPUT_QUIET 0029 - ERROR_QUIET 0030 - ) 0031 - if (NOT STATUS_CXX11_THREADS EQUAL 0) 0032 - # https://stackoverflow.com/a/28001271 0033 - set (CMAKE_CXX_STANDARD_LIBRARIES "-Wl,-Bstatic -lstdc++ -lpthread -Wl,-Bdynamic ${CMAKE_CXX_STANDARD_LIBRARIES}") 0034 - endif () 0035 +# execute_process ( 0036 +# COMMAND "${CMAKE_COMMAND}" -E echo "#include <thread>\n#ifdef _GLIBCXX_HAS_GTHREADS\n#error _GLIBCXX_HAS_GTHREADS\n#endif" 0037 +# COMMAND "${CMAKE_CXX_COMPILER}" -x c++ -E - 0038 +# RESULT_VARIABLE STATUS_CXX11_THREADS 0039 +# OUTPUT_QUIET 0040 +# ERROR_QUIET 0041 +# ) 0042 +# if (NOT STATUS_CXX11_THREADS EQUAL 0) 0043 +# # https://stackoverflow.com/a/28001271 0044 +# set (CMAKE_CXX_STANDARD_LIBRARIES "-Wl,-Bstatic -lstdc++ -lpthread -Wl,-Bdynamic ${CMAKE_CXX_STANDARD_LIBRARIES}") 0045 +# endif () 0046 endif () 0047 endif () 0048