diff --git a/FindBoost.cmake b/FindBoost.cmake index 3c6ff9051d714cf927768bd91672d0db5e4ac2b6..6158c7c0839c48f7e6d21c7f95bd0b57ce63ba8e 100644 --- a/FindBoost.cmake +++ b/FindBoost.cmake @@ -97,6 +97,7 @@ endforeach() # Look for libraries specified by COMPONENTS flag set(Boost_LIBRARY_DIRS "Boost_LIBRARY_DIRS-NOTFOUND") +message("$ENV{BOOST_LIBRARYDIR}") find_path( Boost_LIBRARY_DIRS diff --git a/build.bat b/build.bat index a3698176554a3126c6987449aac8e47dc532c009..92ef4a7d97759412ddf9eaf360bdca490ad833d9 100644 --- a/build.bat +++ b/build.bat @@ -4,6 +4,8 @@ rem call VsDevCmd.bat title Build lib4neuro project +set DEPENDENCIES_LINK_TYPE=static + rem Build type (Release/Debug) set BUILD_TYPE=Debug rem Should we rebuild BOOST? (yes/no) diff --git a/build_scripts/windows/win_VS_build_x64_debug.bat b/build_scripts/windows/win_VS_build_x64_debug.bat index 15a9ce5a1298273a0521f8bb84cb3f8fd0749d26..8aabc35ee86ce68d6c7e9c7b366ce4f709e11884 100644 --- a/build_scripts/windows/win_VS_build_x64_debug.bat +++ b/build_scripts/windows/win_VS_build_x64_debug.bat @@ -3,6 +3,9 @@ title Building the 'lib4neuro' project for Debug cls +set DEPENDENCIES_LINK_TYPE=static +set BOOST_LIBRARYDIR=C:\local\boost_1_68_0\stage\lib + set "REBUILD_BOOST=" set "BUILD_EXAMPLES=" set "BUILD_TESTS=" @@ -13,7 +16,7 @@ set "BUILD_SOMETHING_LIB=" rem call VsDevCmd.bat rem Should we rebuild BOOST? (yes/no) -set REBUILD_BOOST=yes +set REBUILD_BOOST=no rem Should we build the examples? (yes/no) set BUILD_EXAMPLES=yes