From 57f3ee456b269e9055d8005c288fb8854177a656 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sat, 12 May 2018 12:18:38 +0200 Subject: Link pthread --- CMakeLists.txt | 11 ++++++----- 1 file 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 ) -- cgit v1.2.3