diff options
| author | JRPAN <[email protected]> | 2024-04-08 15:43:54 -0400 |
|---|---|---|
| committer | JRPAN <[email protected]> | 2024-04-08 15:43:54 -0400 |
| commit | 570d75cf711831fda65e3edb5efc836f9f5624a0 (patch) | |
| tree | 2df425cd033c6016c973b8307cb27addd3c970cc | |
| parent | b70d93016908c10968786eab79b7855c2b436064 (diff) | |
Fix Build Type
| -rw-r--r-- | gpgpusim_check.cmake | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gpgpusim_check.cmake b/gpgpusim_check.cmake index 22a62f2..486d66d 100644 --- a/gpgpusim_check.cmake +++ b/gpgpusim_check.cmake @@ -116,12 +116,11 @@ execute_process( # Get debug or release # Set with -DCMAKE_BUILD_TYPE=Debug|Release to change build type message(CHECK_START "Checking for CMAKE_BUILD_TYPE") -if(NOT ${CMAKE_BUILD_TYPE}) +if(NOT CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TYPE Release) set(GPGPUSIM_BUILD_MODE "release" CACHE STRING "" FORCE) else() string(TOLOWER "${CMAKE_BUILD_TYPE}" GPGPUSIM_BUILD_MODE) - set(CMAKE_BUILD_TYPE Debug) endif() message(CHECK_PASS "${CMAKE_BUILD_TYPE}") # TODO: Make this step an installation phase that handle copying so and creating symlinks |
