Skip to content

Commit 7b4e3ad

Browse files
move library path to test (where it is needed)
1 parent a7cd877 commit 7b4e3ad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ set(header_path "${${PROJECT_NAME}_SOURCE_DIR}/include/${PROJECT_NAME}")
22
set(header ${header_path}/${PROJECT_NAME}.h)
33
set(src ${PROJECT_NAME}.cpp)
44

5-
link_directories(/usr/local/lib)
6-
75
add_library(${PROJECT_NAME} SHARED
86
${header}
97
${src})

test/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
link_directories("/usr/local/lib")
2+
13
add_executable(${PROJECT_NAME}.test
24
AllTests.cpp
35
${PROJECT_NAME}Test.cpp)

0 commit comments

Comments
 (0)