Got it working?

This commit is contained in:
Las Safin 2021-08-16 19:50:39 +00:00
parent 435168931e
commit 5a536b93b4
No known key found for this signature in database
GPG Key ID: E7FA928911B61ED6
3 changed files with 7 additions and 5 deletions

View File

@ -196,9 +196,9 @@
else(ARGC LESS 1)
foreach(component ${ARGV})
if(${component} STREQUAL "python")
set(component ${component}${Boost_PYVER})
else()
set(components ${components} ${component})
endif()
set(components ${components} ${component})
endforeach()
find_package(Boost 1.35.0 COMPONENTS ${components} system)

View File

@ -45,7 +45,10 @@
runHook postBuild
'';
installPhase = "true";
installPhase = ''
mkdir $out
mv /build/coriolis-2.x/*.* -t $out
'';
checkPhase = "true";

View File

@ -14,8 +14,7 @@
message(STATUS "Boost_NO_SYSTEM_PATHS: ${Boost_NO_SYSTEM_PATHS}")
set_cmake_policies()
find_package(Boost 1.35.0 REQUIRED COMPONENTS program_options regex)
#setup_boost(program_options python regex)
setup_boost(program_options python regex)
find_package(LibXml2 REQUIRED)
find_package(PythonSitePackages REQUIRED)