cmake: fix release build detection
This commit is contained in:
+3
-1
@@ -18,8 +18,10 @@ set(kernel_headers "")
|
||||
|
||||
set(version_args --arch ${CMAKE_SYSTEM_PROCESSOR})
|
||||
|
||||
if (CMAKE_BUILD_TYPE AND NOT "${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
|
||||
if (CMAKE_BUILD_TYPE)
|
||||
if (NOT "${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
|
||||
set(version_args ${version_args} "--release")
|
||||
endif ()
|
||||
endif()
|
||||
|
||||
execute_process(
|
||||
|
||||
Reference in New Issue
Block a user