Skip to content

Commit

Permalink
fix some cmake fuckups
Browse files Browse the repository at this point in the history
  • Loading branch information
Artikash committed Jun 10, 2019
1 parent ae0398a commit c5a6e16
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion cmake/QtUtils.cmake
Expand Up @@ -57,7 +57,7 @@ endmacro()

macro(find_qt5)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)
#set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
add_definitions(-DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x060000)
find_package(Qt5 COMPONENTS ${ARGN})
Expand Down
20 changes: 10 additions & 10 deletions extensions/CMakeLists.txt
Expand Up @@ -4,16 +4,16 @@ find_qt5(Core Widgets)

cmake_policy(SET CMP0037 OLD)

add_library(Bing\ Translate SHARED bingtranslate.cpp extensionimpl.cpp)
add_library(Copy\ to\ Clipboard SHARED copyclipboard.cpp extensionimpl.cpp)
add_library(Extra\ Newlines SHARED extranewlines.cpp extensionimpl.cpp)
add_library(Extra\ Window SHARED extrawindow.cpp extensionimpl.cpp)
add_library(Google\ Translate SHARED googletranslate.cpp extensionimpl.cpp)
add_library(Lua SHARED lua.cpp extensionimpl.cpp)
add_library(Regex\ Filter SHARED regexfilter.cpp extensionimpl.cpp)
add_library(Remove\ Repetition SHARED removerepeat.cpp extensionimpl.cpp)
add_library(Replacer SHARED replacer.cpp extensionimpl.cpp)
add_library(Thread\ Linker SHARED threadlinker.cpp extensionimpl.cpp)
add_library(Bing\ Translate MODULE bingtranslate.cpp extensionimpl.cpp)
add_library(Copy\ to\ Clipboard MODULE copyclipboard.cpp extensionimpl.cpp)
add_library(Extra\ Newlines MODULE extranewlines.cpp extensionimpl.cpp)
add_library(Extra\ Window MODULE extrawindow.cpp extensionimpl.cpp)
add_library(Google\ Translate MODULE googletranslate.cpp extensionimpl.cpp)
add_library(Lua MODULE lua.cpp extensionimpl.cpp)
add_library(Regex\ Filter MODULE regexfilter.cpp extensionimpl.cpp)
add_library(Remove\ Repetition MODULE removerepeat.cpp extensionimpl.cpp)
add_library(Replacer MODULE replacer.cpp extensionimpl.cpp)
add_library(Thread\ Linker MODULE threadlinker.cpp extensionimpl.cpp)

add_executable(Extension_Tests extensiontester.cpp)

Expand Down
2 changes: 1 addition & 1 deletion texthook/CMakeLists.txt
Expand Up @@ -27,6 +27,6 @@ set(texthook_src
)
endif()

add_library(texthook SHARED ${texthook_src})
add_library(texthook MODULE ${texthook_src})

target_link_libraries(texthook minhook)

0 comments on commit c5a6e16

Please sign in to comment.