diff --git a/MyxCMake/modules/MyxCMakeCommon.cmake b/MyxCMake/modules/MyxCMakeCommon.cmake index eeae7a2..3eb4095 100644 --- a/MyxCMake/modules/MyxCMakeCommon.cmake +++ b/MyxCMake/modules/MyxCMakeCommon.cmake @@ -3,6 +3,7 @@ cmake_minimum_required(VERSION 3.3 FATAL_ERROR) include(GNUInstallDirs) include(MyxCMakeCheckPaths) +link_directories(${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR}) set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${CMAKE_CXX_SOURCE_FILE_EXTENSIONS};tpp;tcc) set_property(GLOBAL PROPERTY USE_FOLDERS ON)