"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "cmake/modules/FindCLN.cmake" between
ginac-1.7.11.tar.bz2 and ginac-1.8.0.tar.bz2

About: GiNaC (GiNaC is Not a CAS (Computer Algebra System)) is a C++ library for symbolic calculations.

FindCLN.cmake  (ginac-1.7.11.tar.bz2):FindCLN.cmake  (ginac-1.8.0.tar.bz2)
skipping to change at line 118 skipping to change at line 118
get_filename_component(_d "${_l}" PATH) get_filename_component(_d "${_l}" PATH)
list(APPEND _cln_library_dirs "${_d}") list(APPEND _cln_library_dirs "${_d}")
endforeach() endforeach()
list(REMOVE_DUPLICATES _cln_library_dirs) list(REMOVE_DUPLICATES _cln_library_dirs)
set(CLN_LIBRARY_DIRS ${_cln_library_dirs}) set(CLN_LIBRARY_DIRS ${_cln_library_dirs})
endif() endif()
include(FindPackageHandleStandardArgs) include(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(CLN REQUIRED_VARS CLN_LIBRARIES CLN_INCLUDE_DI R FIND_PACKAGE_HANDLE_STANDARD_ARGS(CLN REQUIRED_VARS CLN_LIBRARIES CLN_INCLUDE_DI R
VERSION_VAR CLN_VERSION) VERSION_VAR CLN_VERSION)
if (CLN_FOUND AND NOT TARGET cln::cln)
set(_found_shared_libcln FALSE)
get_filename_component(_libcln_suffix ${CLN_LIBRARIES} EXT)
if (_libcln_suffix STREQUAL ${CMAKE_STATIC_LIBRARY_SUFFIX})
# XXX: msvc uses the same suffix for both static and import libra
ries
add_library(cln::cln STATIC IMPORTED)
else()
set(_found_shared_libcln TRUE)
add_library(cln::cln SHARED IMPORTED)
endif()
set_target_properties(cln::cln PROPERTIES
INTERFACE_INCLUDE_DIRECTORIES ${CLN_INCLUDE_DIR}
)
if (WIN32 AND _found_shared_libcln)
set_target_properties(cln::cln PROPERTIES
IMPORTED_IMPLIB ${CLN_LIBRARIES}
)
else()
set_target_properties(cln::cln PROPERTIES
IMPORTED_LOCATION ${CLN_LIBRARIES}
)
endif()
endif()
 End of changes. 1 change blocks. 
0 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)