We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b70d930 commit 570d75cCopy full SHA for 570d75c
gpgpusim_check.cmake
@@ -116,12 +116,11 @@ execute_process(
116
# Get debug or release
117
# Set with -DCMAKE_BUILD_TYPE=Debug|Release to change build type
118
message(CHECK_START "Checking for CMAKE_BUILD_TYPE")
119
-if(NOT ${CMAKE_BUILD_TYPE})
+if(NOT CMAKE_BUILD_TYPE)
120
set(CMAKE_BUILD_TYPE Release)
121
set(GPGPUSIM_BUILD_MODE "release" CACHE STRING "" FORCE)
122
else()
123
string(TOLOWER "${CMAKE_BUILD_TYPE}" GPGPUSIM_BUILD_MODE)
124
- set(CMAKE_BUILD_TYPE Debug)
125
endif()
126
message(CHECK_PASS "${CMAKE_BUILD_TYPE}")
127
# TODO: Make this step an installation phase that handle copying so and creating symlinks
0 commit comments