CMake : Move all Gsl projects into solution folder Thirdparty/GSL

This commit is contained in:
Magne Sjaastad 2020-04-27 11:10:39 +02:00
parent 264f77f9c9
commit 25ba7c380c

View File

@ -311,6 +311,14 @@ list(APPEND THIRD_PARTY_LIBRARIES
clipper
)
################################################################################
# Thirdparty libraries are put in ThirdParty solution folder
################################################################################
set_property(TARGET
${THIRD_PARTY_LIBRARIES}
PROPERTY FOLDER "Thirdparty"
)
################################################################################
# GNU GSL
################################################################################
@ -324,17 +332,17 @@ if(GSL_ENABLE)
add_subdirectory(ThirdParty/gsl)
add_definitions(-DUSE_GSL)
list(APPEND THIRD_PARTY_LIBRARIES gsl)
# set this property manually for all GSL projects, as they are put into a separate folder
set_property(TARGET
gsl
gslcblas
copy-headers
PROPERTY FOLDER "Thirdparty/GSL"
)
endif()
################################################################################
# Thirdparty libraries are put in ThirdParty solution folder
################################################################################
set_property(TARGET
${THIRD_PARTY_LIBRARIES}
PROPERTY FOLDER "Thirdparty"
)
################################################################################
# Vizualization Framework
################################################################################