ports/emulators/vbam/patches/patch-CMakeLists_txt

24 lines
718 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Fix build with ports-gcc:
eg++: error: libgomp.spec: No such file or directory
Index: CMakeLists.txt
--- CMakeLists.txt.orig
+++ CMakeLists.txt
2023-09-17 04:05:06 +00:00
@@ -596,7 +596,7 @@ include(SetCompilerLinkerFlags)
2023-08-16 22:26:55 +00:00
2023-09-08 05:21:37 +00:00
if(CMAKE_C_COMPILER_ID STREQUAL Clang AND CMAKE_CXX_COMPILER_ID STREQUAL Clang AND NOT MSVC)
# TODO: This should also be done for clang-cl.
2023-08-16 22:26:55 +00:00
- include(LLVMToolchain)
+# include(LLVMToolchain)
endif()
2023-09-08 05:21:37 +00:00
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID STREQUAL Clang AND NOT MSVC)
2023-09-17 04:05:06 +00:00
@@ -723,7 +723,6 @@ if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID S
2023-08-16 22:26:55 +00:00
endif()
endif()
- set(MY_C_FLAGS ${MY_C_FLAGS} -fopenmp)
endif()
if(CMAKE_CXX_COMPILER_ID STREQUAL GNU)