Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
nico-abram authored Oct 7, 2018
1 parent c2ffd91 commit 9ecfd48
Showing 1 changed file with 12 additions and 27 deletions.
39 changes: 12 additions & 27 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -151,33 +151,18 @@ set_target_properties("${SM_EXE_NAME}" PROPERTIES
OUTPUT_NAME_RELWITHDEBINFO "${SM_NAME_RELWITHDEBINFO}"
)

if("${CMAKE_GENERATOR}" MATCHES "(Win64|IA64|amd64)")
list(APPEND SM_WINDOWS_PROGRAM_DLLS
"${SM_PROGRAM_DIR}/avcodec-55.dll"
"${SM_PROGRAM_DIR}/avformat-55.dll"
"${SM_PROGRAM_DIR}/avutil-52.dll"
"${SM_PROGRAM_DIR}/parallel_lights_io.dll"
"${SM_PROGRAM_DIR}/swscale-2.dll"
"${SM_PROGRAM_DIR}/uWS.dll"
"${SM_PROGRAM_DIR}/libuv.dll"
"${SM_PROGRAM_DIR}/SSLEAY32.dll"
"${SM_PROGRAM_DIR}/LIBEAY32.dll"
"${SM_PROGRAM_DIR}/zlib1.dll"
)
else()
list(APPEND SM_WINDOWS_PROGRAM_DLLS
"${SM_PROGRAM_DIR}/avcodec-55_x86.dll"
"${SM_PROGRAM_DIR}/avformat-55_x86.dll"
"${SM_PROGRAM_DIR}/avutil-52_x86.dll"
"${SM_PROGRAM_DIR}/parallel_lights_io.dll"
"${SM_PROGRAM_DIR}/swscale-2.dll"
"${SM_PROGRAM_DIR}/uWS_x86.dll"
"${SM_PROGRAM_DIR}/libuv_x86.dll"
"${SM_PROGRAM_DIR}/SSLEAY32_x86.dll"
"${SM_PROGRAM_DIR}/LIBEAY32_x86.dll"
"${SM_PROGRAM_DIR}/zlib1_x86.dll"
)
endif()
list(APPEND SM_WINDOWS_PROGRAM_DLLS
"${SM_PROGRAM_DIR}/avcodec-55.dll"
"${SM_PROGRAM_DIR}/avformat-55.dll"
"${SM_PROGRAM_DIR}/avutil-52.dll"
"${SM_PROGRAM_DIR}/parallel_lights_io.dll"
"${SM_PROGRAM_DIR}/swscale-2.dll"
"${SM_PROGRAM_DIR}/uWS.dll"
"${SM_PROGRAM_DIR}/libuv.dll"
"${SM_PROGRAM_DIR}/SSLEAY32.dll"
"${SM_PROGRAM_DIR}/LIBEAY32.dll"
"${SM_PROGRAM_DIR}/zlib1.dll"
)

if(WIN32)
sm_add_compile_definition("${SM_EXE_NAME}" WINDOWS)
Expand Down

0 comments on commit 9ecfd48

Please sign in to comment.