mirror of
				https://github.com/AlexandreRouma/SDRPlusPlus.git
				synced 2025-10-31 08:58:13 +01:00 
			
		
		
		
	MacOS fix 3
This commit is contained in:
		| @@ -18,7 +18,7 @@ add_library(sdrpp_core SHARED ${SRC}) | ||||
| if (MSVC) | ||||
|     target_compile_options(sdrpp_core PRIVATE /O2 /Ob2 /std:c++17 /EHsc) | ||||
| elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang") | ||||
|     target_compile_options(sdrpp_core PRIVATE -O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup) | ||||
|     target_compile_options(sdrpp_core PRIVATE -O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup -mmacosx-version-min=10.10) | ||||
| else () | ||||
|     target_compile_options(sdrpp_core PRIVATE -O3 -std=c++17) | ||||
| endif () | ||||
| @@ -99,10 +99,6 @@ else() | ||||
|         target_link_libraries(sdrpp_core PUBLIC stdc++fs) | ||||
|     endif () | ||||
|  | ||||
|     if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin") | ||||
|         target_compile_options(sdrpp_core PRIVATE -static) | ||||
|     endif () | ||||
|  | ||||
| endif () | ||||
|  | ||||
| set(CORE_FILES ${RUNTIME_OUTPUT_DIRECTORY} PARENT_SCOPE) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user