diff options
author | Petr Mrázek <peterix@gmail.com> | 2017-09-27 15:39:13 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2017-09-27 15:39:13 +0200 |
commit | c51512f94036b7d13b98cb02b8e8c1e549e7b448 (patch) | |
tree | d44cc40472bf619cdb1a91238c02eaca4e6d0c78 /libraries/classparser/CMakeLists.txt | |
parent | 9a2d203c0d95e51ea02e3e62fef6289973777e84 (diff) | |
download | MultiMC-c51512f94036b7d13b98cb02b8e8c1e549e7b448.tar MultiMC-c51512f94036b7d13b98cb02b8e8c1e549e7b448.tar.gz MultiMC-c51512f94036b7d13b98cb02b8e8c1e549e7b448.tar.lz MultiMC-c51512f94036b7d13b98cb02b8e8c1e549e7b448.tar.xz MultiMC-c51512f94036b7d13b98cb02b8e8c1e549e7b448.zip |
NOISSUE use classparser for importing Legacy instances with undecided Minecraft versions
Diffstat (limited to 'libraries/classparser/CMakeLists.txt')
-rw-r--r-- | libraries/classparser/CMakeLists.txt | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/libraries/classparser/CMakeLists.txt b/libraries/classparser/CMakeLists.txt index a6c3fa14..db266f53 100644 --- a/libraries/classparser/CMakeLists.txt +++ b/libraries/classparser/CMakeLists.txt @@ -18,7 +18,7 @@ include_directories(${Qt5Base_INCLUDE_DIRS}) set(CLASSPARSER_HEADERS # Public headers include/classparser_config.h -include/javautils.h +include/classparser.h # Private headers src/annotations.h @@ -30,12 +30,13 @@ src/membuffer.h ) set(CLASSPARSER_SOURCES -src/javautils.cpp +src/classparser.cpp src/annotations.cpp ) add_definitions(-DCLASSPARSER_LIBRARY) -add_library(classparser SHARED ${CLASSPARSER_SOURCES} ${CLASSPARSER_HEADERS}) -target_include_directories(classparser PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include") -qt5_use_modules(classparser Core) +add_library(MultiMC_classparser STATIC ${CLASSPARSER_SOURCES} ${CLASSPARSER_HEADERS}) +target_include_directories(MultiMC_classparser PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include") +target_link_libraries(MultiMC_classparser MultiMC_quazip) +qt5_use_modules(MultiMC_classparser Core) |