Каталог ${CMAKE_BINARY_DIR}/lib используется для поиска библиотек

This commit is contained in:
Andrei Astafev 2021-12-10 10:55:19 +03:00
parent b69aa4819d
commit acd8d2b255

View File

@ -3,6 +3,7 @@ cmake_minimum_required(VERSION 3.3 FATAL_ERROR)
include(GNUInstallDirs) include(GNUInstallDirs)
include(MyxCMakeCheckPaths) include(MyxCMakeCheckPaths)
link_directories(${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR})
set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS
${CMAKE_CXX_SOURCE_FILE_EXTENSIONS};tpp;tcc) ${CMAKE_CXX_SOURCE_FILE_EXTENSIONS};tpp;tcc)
set_property(GLOBAL PROPERTY USE_FOLDERS ON) set_property(GLOBAL PROPERTY USE_FOLDERS ON)