diff options
author | Conlain Kelly <conlain.k@gmail.com> | 2018-06-26 16:17:31 -0400 |
---|---|---|
committer | Conlain Kelly <conlain.k@gmail.com> | 2018-06-26 16:17:31 -0400 |
commit | 5bd8f1a26888021308fe0bc0e29977a684c49359 (patch) | |
tree | d547eb709f6b4ebac58827333798335cc359c4f8 | |
parent | f053cc15234e3e734354efa8fade5ca1456dc25e (diff) | |
download | sdl_core-fix/3rdparty_cmake.tar.gz |
Add empty default 3rd party targets to allow proper CMake dependenciesfix/3rdparty_cmake
-rw-r--r-- | src/3rd_party/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/3rd_party/CMakeLists.txt b/src/3rd_party/CMakeLists.txt index 45452d8882..384e87e6ff 100644 --- a/src/3rd_party/CMakeLists.txt +++ b/src/3rd_party/CMakeLists.txt @@ -201,6 +201,7 @@ if (${BSON_LIB} MATCHES "BSON_LIB-NOTFOUND") BUILD_COMMAND make INSTALL_COMMAND ${BSON_INSTALL_COMMAND}) else() + add_custom_target(libbson) # empty target, bson is already installed get_filename_component(BSON_LIBS_DIRECTORY ${BSON_LIB} DIRECTORY) get_filename_component(EMHASHMAP_LIBS_DIRECTORY ${EMHASHMAP_LIB} DIRECTORY) set(BSON_LIBS_DIRECTORY ${BSON_LIBS_DIRECTORY} CACHE INTERNAL "Installation path of bson libraries" FORCE) @@ -234,6 +235,8 @@ if (HMIADAPTER STREQUAL "messagebroker") set(BOOST_INCLUDE_DIR ${BOOST_ROOT_DIR}/Boost-prefix/src/Boost) set(BOOST_LIB_DIR ${BOOST_ROOT_DIR}/Boost-prefix/src/Boost/stage/lib/) + else() + add_custom_target(Boost) # empty target, Boost is already installed endif() endif() |