Skip to content

Commit

Permalink
Misc update of cmake config
Browse files Browse the repository at this point in the history
  • Loading branch information
guoh27 committed Jun 4, 2023
1 parent 4f17d88 commit 17cadf5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,10 @@ if(NOSHELL_ENABLE_INSTALL)

write_basic_package_version_file("${version_config_file}"
VERSION "${noshell_version}"
COMPATIBILITY AnyNewerVersion)
COMPATIBILITY ExactVersion)

install(FILES "${project_config_out}" "${version_config_file}" DESTINATION "${export_dest_dir}")
endif(NOSHELL_ENABLE_INSTALL)
endif()


if(NOSHELL_BUILD_TESTS)
Expand Down
2 changes: 1 addition & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ foreach(src ${NOSHELL_TESTS_HELPER})
endforeach()

add_executable(noshell_tests ${NOSHELL_TESTS_LIST})
target_link_libraries(noshell_tests GTest::Main GTest::GTest Threads::Threads noshell)
target_link_libraries(noshell_tests GTest::Main GTest::GTest Threads::Threads noshell::noshell)

add_test(noshell_tests noshell_tests)

0 comments on commit 17cadf5

Please sign in to comment.