Organise the dependencies
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
#include "spdlog/cfg/env.h" // support for loading levels from the environment variable
|
||||
#include "spdlog/fmt/ostr.h" // support for user defined types
|
||||
#include "spdlog/sinks/stdout_color_sinks.h"
|
||||
#include "../../src/client/Licensing/base64.h"
|
||||
#include "base64.h"
|
||||
#include <spdlog/sinks/base_sink.h>
|
||||
#include <winnt.h>
|
||||
|
||||
|
||||
@@ -14,15 +14,14 @@ target_include_directories(ANSLicensingSystem PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${SHARED_INCLUDE_DIR}
|
||||
# These are needed by consumers because ANSLicense.h / Utility.h include them
|
||||
${RESEARCH_DIR} # for LabVIEWHeader/extcode.h
|
||||
${ANSLIBS_DIR} # for LabVIEWHeader/extcode.h
|
||||
${ANSLIBS_DIR}/ZLIB/include # for zlib.h (Utility.h includes it)
|
||||
${VCPKG_INCLUDE_DIR} # for zip.h (Utility.h includes it)
|
||||
)
|
||||
|
||||
target_include_directories(ANSLicensingSystem PRIVATE
|
||||
${ANLS_ROOT}/ANSLIB/anszip
|
||||
${RESEARCH_DIR}/ANS-HWiNFO/include
|
||||
${RESEARCH_DIR}/spdlog-1.12.0/include
|
||||
${ANSLIBS_DIR}/ANS-HWiNFO/include
|
||||
${ANSLIBS_DIR}/spdlog/include
|
||||
)
|
||||
|
||||
target_link_libraries(ANSLicensingSystem
|
||||
@@ -31,14 +30,13 @@ target_link_libraries(ANSLicensingSystem
|
||||
PRIVATE opencv
|
||||
PRIVATE zlib_dep
|
||||
PRIVATE spdlog_dep
|
||||
PRIVATE boost
|
||||
PUBLIC boost
|
||||
)
|
||||
|
||||
target_link_directories(ANSLicensingSystem PRIVATE
|
||||
${RESEARCH_DIR}/ANS-HWiNFO/lib
|
||||
${RESEARCH_DIR}/boost_lib
|
||||
${ANSLIBS_DIR}/ANS-HWiNFO/lib
|
||||
${ANSLIBS_DIR}/boost/lib
|
||||
${VCPKG_LIB_DIR}
|
||||
${ANLS_ROOT}/ANSLIB/anszip/x64/Release
|
||||
)
|
||||
|
||||
# BASE64 class — not exported from anslicensing.dll, compile directly
|
||||
|
||||
Reference in New Issue
Block a user