Skip to content

Commit 7b16c4e

Browse files
robertodrilfreddy
authored andcommitted
Investigate Travis CI failures
1 parent 0888a2e commit 7b16c4e

File tree

6 files changed

+7
-6
lines changed

6 files changed

+7
-6
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,7 @@ install:
340340
- conda list
341341
before_script:
342342
- python -V
343+
- cmake --version
343344
- cd ${TRAVIS_BUILD_DIR}
344345
- export CXX=${CXX_COMPILER}
345346
- ${CXX_COMPILER} --version

src/bin/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ link_directories(${PROJECT_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR})
88
add_executable(run_pcm run_pcm.cpp)
99
add_dependencies(run_pcm generate-config-hpp)
1010
if(STATIC_LIBRARY_ONLY)
11-
target_link_libraries(run_pcm pcm-static PRIVATE ZLIB::ZLIB)
11+
target_link_libraries(run_pcm pcm-static)
1212
else()
1313
target_link_libraries(run_pcm pcm-shared)
1414
endif()

tests/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ if(BUILD_CUSTOM_BOOST)
2929
add_dependencies(unit_tests custom_boost)
3030
endif()
3131
if(STATIC_LIBRARY_ONLY)
32-
target_link_libraries(unit_tests pcm-static PRIVATE ZLIB::ZLIB)
32+
target_link_libraries(unit_tests pcm-static )
3333
else()
3434
target_link_libraries(unit_tests pcm-shared)
3535
endif()

tests/C_host/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ link_directories(${PROJECT_BINARY_DIR}/lib)
22
add_executable(C_host C_host.c)
33
add_executable(fail-C_host fail-C_host.c)
44
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)
77
else()
88
target_link_libraries(C_host pcm-shared)
99
target_link_libraries(fail-C_host pcm-shared)

tests/Fortran_host/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
link_directories(${PROJECT_BINARY_DIR}/lib)
22
add_executable(Fortran_host Fortran_host.f90 Fortran_host-modules.f90)
33
if(STATIC_LIBRARY_ONLY)
4-
target_link_libraries(Fortran_host pcm-static PRIVATE ZLIB::ZLIB)
4+
target_link_libraries(Fortran_host pcm-static)
55
else()
66
target_link_libraries(Fortran_host pcm-shared)
77
endif()

tests/bi_operators/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ if(BUILD_STANDALONE)
2525
add_dependencies(update_reference_files custom_boost)
2626
endif()
2727
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)
2929
else()
3030
target_link_libraries(update_reference_files pcm-shared)
3131
endif()

0 commit comments

Comments
 (0)