From 6e75a3a671ae9f96372949af07df30db2d69a1dd Mon Sep 17 00:00:00 2001 From: Leon Marz Date: Thu, 1 Jul 2021 15:34:07 +0200 Subject: [PATCH] cmake fixes --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ef88317..1443620 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -196,6 +196,7 @@ set(OUTPUT_DEBUG Debug/bin) set(OUTPUT_RELEASE Release/bin) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/bin ) +if(false) if(CMAKE_BUILD_TYPE) # Validate build type set(CONFIGURATION_TYPES "Debug;Release;RelWithDebInfo") @@ -208,6 +209,7 @@ else(NOT CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TYPE "Release") message(STATUS "Build type not specified: Use Release by default.") endif(CMAKE_BUILD_TYPE) +endif() list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/ispcrt/cmake) include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/FixWindowsPath.cmake) @@ -525,7 +527,7 @@ else() else() find_package(Curses REQUIRED) find_package(ZLIB REQUIRED) - find_library(NCURSES_TINFO_LIBRARY tinfo) + find_library(NCURSES_TINFO_LIBRARY ncursesw) target_link_libraries(${PROJECT_NAME} pthread ${ZLIB_LIBRARIES} ${NCURSES_TINFO_LIBRARY} ${CURSES_LIBRARIES}) endif() endif() -- 2.34.1