diff options
| author | Garrett D'Amore <garrett@damore.org> | 2019-12-25 09:45:12 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2019-12-25 09:58:05 -0800 |
| commit | 440ddf86b3b3b6be47943c5b6408d63b091f2c28 (patch) | |
| tree | 1dc5a7ed1d8da3e6540f5c8b1f7c75df0a718496 /src/CMakeLists.txt | |
| parent | 1b71d116b8343d0d67bdb8c303cfecc2773fd0aa (diff) | |
| download | nng-440ddf86b3b3b6be47943c5b6408d63b091f2c28.tar.gz nng-440ddf86b3b3b6be47943c5b6408d63b091f2c28.tar.bz2 nng-440ddf86b3b3b6be47943c5b6408d63b091f2c28.zip | |
fixes #1040 Convert rest of the protocols to new CMake infra
Diffstat (limited to 'src/CMakeLists.txt')
| -rw-r--r-- | src/CMakeLists.txt | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index e8d171c9..f5e2eca0 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -36,9 +36,6 @@ if (NNG_TESTS) ${PROJECT_SOURCE_DIR}/include/nng/nng.h) endif() - -#nng.c -#${PROJECT_SOURCE_DIR}/include/nng/nng.h set (NNG_SRCS core/defs.h @@ -221,7 +218,7 @@ if (NNG_TESTS) target_sources(${PROJECT_NAME}_testlib PRIVATE ${NNG_SRCS}) target_link_libraries (${PROJECT_NAME}_testlib PUBLIC ${NNG_LIBS}) target_compile_definitions(${PROJECT_NAME}_testlib PUBLIC NNG_STATIC_LIB NNG_TEST_LIB) - target_include_directories (${PROJECT_NAME}_testlib PRIVATE ${PROJECT_SOURCE_DIR}/include) + target_include_directories (${PROJECT_NAME}_testlib PUBLIC ${PROJECT_SOURCE_DIR}/include) endif() # When building shared libraries we prefer to suppress default symbol |
