Get rid of QNAM (now subclassed and less needy). Basic LWJGL download and extraction.
This commit is contained in:
@@ -20,7 +20,7 @@ find_package(Qt5Core REQUIRED)
|
||||
|
||||
# Include Qt headers.
|
||||
include_directories(${Qt5Base_INCLUDE_DIRS})
|
||||
include_directories(${Qt5Network_INCLUDE_DIRS})
|
||||
# include_directories(${Qt5Network_INCLUDE_DIRS})
|
||||
|
||||
SET(LIBUTIL_HEADERS
|
||||
include/libutil_config.h
|
||||
@@ -31,9 +31,6 @@ include/pathutils.h
|
||||
include/osutils.h
|
||||
include/userutils.h
|
||||
include/cmdutils.h
|
||||
include/netutils.h
|
||||
include/jobqueue.h
|
||||
include/dlqueue.h
|
||||
)
|
||||
|
||||
SET(LIBUTIL_SOURCES
|
||||
@@ -41,8 +38,6 @@ src/pathutils.cpp
|
||||
src/osutils.cpp
|
||||
src/userutils.cpp
|
||||
src/cmdutils.cpp
|
||||
src/netutils.cpp
|
||||
src/dlqueue.cpp
|
||||
)
|
||||
|
||||
# Set the include dir path.
|
||||
@@ -51,5 +46,6 @@ SET(LIBUTIL_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/include" PARENT_SCOPE)
|
||||
add_definitions(-DLIBUTIL_LIBRARY)
|
||||
|
||||
add_library(libUtil SHARED ${LIBUTIL_SOURCES} ${LIBUTIL_HEADERS})
|
||||
qt5_use_modules(libUtil Core Network)
|
||||
# qt5_use_modules(libUtil Core Network)
|
||||
qt5_use_modules(libUtil Core)
|
||||
target_link_libraries(libUtil)
|
||||
|
||||
Reference in New Issue
Block a user