mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-11-15 10:05:47 +08:00
solved link error with Visual Studio (upper/lower case mismatch in DEFINE was 'JKQtPlotter_LIB_...' but should be 'JKQTPLOTTER_LIB_...')
This commit is contained in:
parent
5133d4ab51
commit
29b1c5aa37
3
.gitignore
vendored
3
.gitignore
vendored
@ -96,3 +96,6 @@ Sicherungskopie_*
|
||||
/build
|
||||
/*.10-pre1
|
||||
/install
|
||||
/.vs
|
||||
/CMakeSettings.json
|
||||
/out
|
||||
|
@ -1,5 +1,9 @@
|
||||
cmake_minimum_required(VERSION 3.0)
|
||||
|
||||
# Project Name and Version
|
||||
project(JKQTPlotter LANGUAGES CXX VERSION 2019.11)
|
||||
|
||||
|
||||
# set search path for CMake files
|
||||
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
|
||||
list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
|
||||
|
@ -1,2 +0,0 @@
|
||||
# Project Name and Version
|
||||
project(JKQTPlotter LANGUAGES CXX VERSION 2019.11)
|
@ -136,8 +136,8 @@ if(JKQtPlotter_BUILD_SHARED_LIBS)
|
||||
set_property(TARGET ${libsh_name} PROPERTY VERSION "${PROJECT_VERSION}")
|
||||
set_property(TARGET ${libsh_name} PROPERTY OUTPUT_NAME "${libsh_name_decorated}")
|
||||
target_link_libraries(${libsh_name} PUBLIC Qt5::Core Qt5::Gui Qt5::Widgets Qt5::PrintSupport Qt5::Svg Qt5::Xml JKQTCommonSharedLib JKQTMathTextSharedLib)
|
||||
target_compile_definitions(${libsh_name} PUBLIC JKQtPlotter_LIB_IN_DLL)
|
||||
target_compile_definitions(${libsh_name} PRIVATE JKQtPlotter_LIB_EXPORT_LIBRARY)
|
||||
target_compile_definitions(${libsh_name} PUBLIC JKQTPLOTTER_LIB_IN_DLL)
|
||||
target_compile_definitions(${libsh_name} PRIVATE JKQTPLOTTER_LIB_EXPORT_LIBRARY)
|
||||
target_include_directories(${libsh_name} PUBLIC
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../>
|
||||
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
|
||||
|
Loading…
Reference in New Issue
Block a user