Skip to content
Snippets Groups Projects
Commit 28964ca0 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Fix debug builds, and default to debug.

CMake does weird things if CMAKE_BUILD_TYPE isn't defined and a
multi-whatzit generator is used.
parent 32d85259
No related branches found
No related tags found
No related merge requests found
Pipeline #6792 failed
......@@ -507,3 +507,4 @@ target_compile_definitions(cl INTERFACE STATIC_LIB)
target_include_directories(cl PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
target_include_directories(cl INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
target_link_libraries(cl ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries(cl $<$<CONFIG:Debug>:dbghelp>)
cmake_minimum_required(VERSION 3.5)
set(CMAKE_BUILD_TYPE "Debug" CACHE STRING "Choose the build type")
project (SyncTERM C)
set(WITHOUT_CRYPTLIB OFF CACHE BOOL "Disable cryptlib (ssh and telnet over TLS")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment