aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2018-05-12 12:18:38 +0200
committerAdrian Kummerlaender2018-05-12 13:13:43 +0200
commit57f3ee456b269e9055d8005c288fb8854177a656 (patch)
tree991c75ba8eb661db739b94c58dae8d3c54cc4913
parentf58e836911d5e59ba69e70d459d844ba72523b72 (diff)
downloadSimpleParser-57f3ee456b269e9055d8005c288fb8854177a656.tar
SimpleParser-57f3ee456b269e9055d8005c288fb8854177a656.tar.gz
SimpleParser-57f3ee456b269e9055d8005c288fb8854177a656.tar.bz2
SimpleParser-57f3ee456b269e9055d8005c288fb8854177a656.tar.lz
SimpleParser-57f3ee456b269e9055d8005c288fb8854177a656.tar.xz
SimpleParser-57f3ee456b269e9055d8005c288fb8854177a656.tar.zst
SimpleParser-57f3ee456b269e9055d8005c288fb8854177a656.zip
Link pthread
-rw-r--r--CMakeLists.txt11
1 files changed, 6 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fbbb8fa..3df4faf 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -29,6 +29,7 @@ target_link_libraries(
tests
SimpleParser
gtest
+ pthread
)
target_link_libraries(
@@ -44,9 +45,9 @@ install(
bin
)
-add_custom_command(
- TARGET
- tests
- POST_BUILD COMMAND
- ./tests
+install(
+ TARGETS
+ SimpleParser
+ DESTINATION
+ lib
)