From af5fb2e8094e754830db0de164787b952378b5b9 Mon Sep 17 00:00:00 2001 From: StapleButter Date: Sun, 4 Jun 2017 18:20:49 +0200 Subject: add optimization to cmake build --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 52f6a57..b5928e0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -43,4 +43,6 @@ link_libraries(${SDL2_LIBRARIES}) add_executable(${PROJECT_WX} ${SOURCES}) target_link_libraries(${PROJECT_WX}) +set(CMAKE_BUILD_TYPE Release) + install(TARGETS ${PROJECT_WX} RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin) -- cgit v1.2.3