remove deps
This commit is contained in:
parent
7fbd6277ad
commit
7a9abd1d42
@ -60,7 +60,6 @@ set(EXTERNAL_INSTALL_LOCATION ${CMAKE_BINARY_DIR}/lib CACHE STRING "external lib
|
||||
set(EXTERNAL_LOCATION ${CMAKE_BINARY_DIR}/external CACHE STRING "external sources root path")
|
||||
set(_HUNTER_ROOT "${Boost_DIR}/../../../")
|
||||
|
||||
project(wt-download NONE)
|
||||
build_external_project(project_wt external
|
||||
https://github.com/emweb/wt.git
|
||||
-DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}
|
||||
@ -90,8 +89,6 @@ build_external_project(project_wt external
|
||||
-DCONNECTOR_FCGI=OFF
|
||||
)
|
||||
|
||||
#ExternalProject_Get_Property(project_wt install_dir)
|
||||
|
||||
add_library(wt STATIC IMPORTED)
|
||||
set_target_properties(wt PROPERTIES IMPORTED_LOCATION ${EXTERNAL_INSTALL_LOCATION}/lib/libwt.a)
|
||||
add_dependencies(wt project_wt)
|
||||
|
||||
@ -7,7 +7,7 @@ include_directories(${EXTERNAL_INSTALL_LOCATION}/include)
|
||||
remove_definitions(WTHTTP_WITH_ZLIB)
|
||||
add_executable(eedb ${SOURCES} )
|
||||
|
||||
add_dependencies(eedb project_wt)
|
||||
#add_dependencies(eedb project_wt)
|
||||
|
||||
link_directories(${EXTERNAL_INSTALL_LOCATION}/lib)
|
||||
target_link_libraries(eedb
|
||||
|
||||
Loading…
Reference in New Issue
Block a user