aboutsummaryrefslogtreecommitdiffhomepage
path: root/externals
diff options
context:
space:
mode:
authorGravatar Yuri Kunde Schlesner <yuriks@yuriks.net>2014-08-23 22:22:05 -0300
committerGravatar Yuri Kunde Schlesner <yuriks@yuriks.net>2014-09-01 18:06:30 -0300
commit45976da975a21359cfcc9a05c575ed8b07575612 (patch)
treeac688d083cd597f12c42b5e424bb7a66cad50c45 /externals
parent523385955c3c0af2dc2133546490f8ede0dd824f (diff)
CMake cleanup
Several cleanups to the buildsystem: - Do better factoring of common libs between platforms. - Add support to building on Windows. - Remove Qt4 support. - Re-sort file lists and add missing headers.
Diffstat (limited to 'externals')
-rw-r--r--externals/qhexedit/CMakeLists.txt15
1 files changed, 9 insertions, 6 deletions
diff --git a/externals/qhexedit/CMakeLists.txt b/externals/qhexedit/CMakeLists.txt
index b1f631f9..e7470dfe 100644
--- a/externals/qhexedit/CMakeLists.txt
+++ b/externals/qhexedit/CMakeLists.txt
@@ -5,14 +5,17 @@ set(SRCS
commands.cpp
qhexedit.cpp
qhexedit_p.cpp
- xbytearray.cpp)
+ xbytearray.cpp
+ )
set(HEADERS
+ commands.h
qhexedit.h
- qhexedit_p.h)
+ qhexedit_p.h
+ xbytearray.h
+ )
-add_library(qhexedit STATIC ${SRCS} ${HEADERS})
-if(USE_QT5)
- target_link_libraries(qhexedit Qt5::Core Qt5::Widgets)
-endif()
+create_directory_groups(${SRCS} ${HEADERS})
+add_library(qhexedit STATIC ${SRCS} ${HEADERS})
+target_link_libraries(qhexedit ${CITRA_QT_LIBS})