diff --git a/CMakeLists.txt b/CMakeLists.txt index 85d9160..22ee5ec 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -144,6 +144,7 @@ if (FORCE_USE_SUBMODULES) else () message (STATUS "Looking for ParseArgs library") find_package (ParseArgs HINTS ParseArgs_DIR) + message (STATUS "----------------------------${ParseArgs_FOUND}") if (ParseArgs_FOUND) include_directories(${ParseArgs_INCLUDE_DIR}) set (parseargslib ParseArgs::parseargs) @@ -264,7 +265,7 @@ install(TARGETS ${dnetprolib} EXPORT DNetPROTargets ) add_executable(DNetPRO_couples "${CMAKE_CURRENT_LIST_DIR}/example/DNetPRO_couples.cpp") -target_link_libraries(DNetPRO_couples ${linked_libs} ${parseargslib} ${dnetprolib}) +target_link_libraries(DNetPRO_couples ${linked_libs} ${parseargslib} ${dnetprolib} parseargs) if (FORCE_USE_SUBMODULES) add_dependencies(DNetPRO_couples parseargs) endif () diff --git a/build.sh b/build.sh old mode 100644 new mode 100755 index 08271f8..485c15b --- a/build.sh +++ b/build.sh @@ -14,7 +14,7 @@ number_of_build_workers=$(grep -c ^processor /proc/cpuinfo) other_cmake_flags="${@:2}" -elif [ "$build_type" == "Release" ] || [ "$build_type" == "release" ]; then +if [ "$build_type" == "Release" ] || [ "$build_type" == "release" ]; then echo "${green}Building Release project${reset}" build_type=Release #rm -rf build_release