Skip to content

Commit

Permalink
fix: set build type to be release
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhaoyilunnn committed Jun 24, 2024
1 parent edd0083 commit d296164
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ project(qfvm LANGUAGES CXX C)

if(NOT CMAKE_BUILD_TYPE)
message(STATUS "Build type not set - defaulting to Release")
set(CMAKE_BUILD_TYPE Debug)
set(CMAKE_BUILD_TYPE Release)
endif()
set(CMAKE_BUILD_TYPE Debug)

set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CUDA_ARCHITECTURES 70;75;80;90)
Expand Down Expand Up @@ -42,7 +41,6 @@ else()
endif()
endif()

list ( APPEND PRJ_COMPILE_OPTIONS -g)
#install eigen
set(EIGEN3_ROOT ${CMAKE_SOURCE_DIR}/thirdparty/Eigen3)
set(EIGEN3_INCLUDE_DIR ${EIGEN3_ROOT}/include/eigen3)
Expand Down

0 comments on commit d296164

Please sign in to comment.