File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed
Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -58,16 +58,9 @@ else(UNIX)
5858 message ("Dependencies downloaded :)" )
5959 endif ()
6060
61- set (SDL_DIR ${WFDIR} /SDL)
62- set (CMAKE_PREFIX_PATH ${SDL_DIR} )
6361 set (BOOST_ROOT ${WFDIR} /boost)
6462 link_directories (${BOOST_ROOT} /lib) # Boost doesn't find everything
6563endif (UNIX )
66-
67- # SDL Headers
68- find_package (SDL 1.2 REQUIRED)
69- include_directories (${SDL_INCLUDE_DIRS} )
70-
7164# Boost/Asio
7265set (Boost_FIND_REQUIRED TRUE )
7366set (Boost_USE_STATIC_LIBS OFF )
@@ -88,8 +81,8 @@ include_directories(websocketpp)
8881include_directories (cpp-httplib)
8982
9083if (isPlugin)
91- DFHACK_PLUGIN(dfplex ${SRC} LINK_LIBRARIES SDL dfhack-tinythread ${PROJECT_LIBS} )
92- target_link_libraries (dfplex ${Boost_LIBRARIES} SDL )
84+ DFHACK_PLUGIN(dfplex ${SRC} LINK_LIBRARIES dfhack-tinythread ${PROJECT_LIBS} )
85+ target_link_libraries (dfplex ${Boost_LIBRARIES} )
9386 INSTALL (DIRECTORY ../dist/shared/ DESTINATION .)
9487 INSTALL (DIRECTORY ../static / DESTINATION ./hack/www)
9588else ()
You can’t perform that action at this time.
0 commit comments