Commit 462587d5 by Maarten L. Hekkelman

Merge branch 'develop' of github.com:PDB-REDO/dssp into develop

parents 8c92e681 d1152980
...@@ -58,9 +58,9 @@ if(_found) ...@@ -58,9 +58,9 @@ if(_found)
if(CXX_FILESYSTEM_NO_LINK_NEEDED) if(CXX_FILESYSTEM_NO_LINK_NEEDED)
# Nothing to add... # Nothing to add...
elseif(CXX_FILESYSTEM_STDCPPFS_NEEDED) elseif(CXX_FILESYSTEM_STDCPPFS_NEEDED)
set_property(TARGET std::filesystem APPEND PROPERTY INTERFACE_LINK_LIBRARIES -lstdc++fs) set_target_properties(std::filesystem PROPERTIES IMPORTED_LIBNAME stdc++fs)
elseif(CXX_FILESYSTEM_CPPFS_NEEDED) elseif(CXX_FILESYSTEM_CPPFS_NEEDED)
set_property(TARGET std::filesystem APPEND PROPERTY INTERFACE_LINK_LIBRARIES -lc++fs) set_target_properties(std::filesystem PROPERTIES IMPORTED_LIBNAME c++fs)
endif() endif()
endif() endif()
...@@ -71,3 +71,4 @@ set(Filesystem_FOUND ${_found} CACHE BOOL "TRUE if we can run a program using st ...@@ -71,3 +71,4 @@ set(Filesystem_FOUND ${_found} CACHE BOOL "TRUE if we can run a program using st
if(Filesystem_FIND_REQUIRED AND NOT Filesystem_FOUND) if(Filesystem_FIND_REQUIRED AND NOT Filesystem_FOUND)
message(FATAL_ERROR "Cannot run simple program using std::filesystem") message(FATAL_ERROR "Cannot run simple program using std::filesystem")
endif() endif()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment