mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-09-02 21:27:48 -04:00
fix CMAKE_BUILD_TYPE for MacPorts
This commit is contained in:
parent
905ff3ea66
commit
100b838fb6
@ -89,7 +89,9 @@ set(CPACK_SOURCE_IGNORE_FILES "${PROJECT_BINARY_DIR};/.git/;.gitignore;menu.yml;
|
|||||||
set(CPACK_SOURCE_GENERATOR "ZIP;TGZ")
|
set(CPACK_SOURCE_GENERATOR "ZIP;TGZ")
|
||||||
|
|
||||||
# if we don't set build_type
|
# if we don't set build_type
|
||||||
if(NOT DEFINED CMAKE_BUILD_TYPE OR "${CMAKE_BUILD_TYPE}" STREQUAL "")
|
if(NOT DEFINED CMAKE_BUILD_TYPE OR
|
||||||
|
"${CMAKE_BUILD_TYPE}" STREQUAL "" OR
|
||||||
|
"${CMAKE_BUILD_TYPE}" STREQUAL "MacPorts")
|
||||||
set(CMAKE_BUILD_TYPE Release CACHE STRING "Build type" FORCE)
|
set(CMAKE_BUILD_TYPE Release CACHE STRING "Build type" FORCE)
|
||||||
endif()
|
endif()
|
||||||
message(STATUS "Build type set to ${CMAKE_BUILD_TYPE}")
|
message(STATUS "Build type set to ${CMAKE_BUILD_TYPE}")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user