File tree Expand file tree Collapse file tree 6 files changed +7
-6
lines changed Expand file tree Collapse file tree 6 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -340,6 +340,7 @@ install:
340
340
- conda list
341
341
before_script :
342
342
- python -V
343
+ - cmake --version
343
344
- cd ${TRAVIS_BUILD_DIR}
344
345
- export CXX=${CXX_COMPILER}
345
346
- ${CXX_COMPILER} --version
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ link_directories(${PROJECT_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR})
8
8
add_executable (run_pcm run_pcm.cpp)
9
9
add_dependencies (run_pcm generate-config-hpp)
10
10
if (STATIC_LIBRARY_ONLY)
11
- target_link_libraries (run_pcm pcm-static PRIVATE ZLIB::ZLIB )
11
+ target_link_libraries (run_pcm pcm-static )
12
12
else ()
13
13
target_link_libraries (run_pcm pcm-shared)
14
14
endif ()
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ if(BUILD_CUSTOM_BOOST)
29
29
add_dependencies (unit_tests custom_boost)
30
30
endif ()
31
31
if (STATIC_LIBRARY_ONLY)
32
- target_link_libraries (unit_tests pcm-static PRIVATE ZLIB::ZLIB )
32
+ target_link_libraries (unit_tests pcm-static )
33
33
else ()
34
34
target_link_libraries (unit_tests pcm-shared)
35
35
endif ()
Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ link_directories(${PROJECT_BINARY_DIR}/lib)
2
2
add_executable (C_host C_host.c)
3
3
add_executable (fail-C_host fail-C_host.c)
4
4
if (STATIC_LIBRARY_ONLY)
5
- target_link_libraries (C_host pcm-static PRIVATE ZLIB::ZLIB )
6
- target_link_libraries (fail-C_host pcm-static PRIVATE ZLIB::ZLIB )
5
+ target_link_libraries (C_host pcm-static )
6
+ target_link_libraries (fail-C_host pcm-static )
7
7
else ()
8
8
target_link_libraries (C_host pcm-shared)
9
9
target_link_libraries (fail-C_host pcm-shared)
Original file line number Diff line number Diff line change 1
1
link_directories (${PROJECT_BINARY_DIR} /lib)
2
2
add_executable (Fortran_host Fortran_host.f90 Fortran_host-modules.f90)
3
3
if (STATIC_LIBRARY_ONLY)
4
- target_link_libraries (Fortran_host pcm-static PRIVATE ZLIB::ZLIB )
4
+ target_link_libraries (Fortran_host pcm-static )
5
5
else ()
6
6
target_link_libraries (Fortran_host pcm-shared)
7
7
endif ()
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ if(BUILD_STANDALONE)
25
25
add_dependencies (update_reference_files custom_boost)
26
26
endif ()
27
27
if (STATIC_LIBRARY_ONLY)
28
- target_link_libraries (update_reference_files pcm-static PRIVATE ZLIB::ZLIB )
28
+ target_link_libraries (update_reference_files pcm-static )
29
29
else ()
30
30
target_link_libraries (update_reference_files pcm-shared)
31
31
endif ()
You can’t perform that action at this time.
0 commit comments