hedgewars/CMakeLists.txt
branchflibqtfrontend
changeset 8304 620560c89284
parent 8283 af97cdbb7713
child 8311 bc18481dca8b
equal deleted inserted replaced
8282:1f81bcce3ee6 8304:620560c89284
   141             set(SDLMAIN_LIB "${LIBRARY_OUTPUT_PATH}/libSDLmain.a")
   141             set(SDLMAIN_LIB "${LIBRARY_OUTPUT_PATH}/libSDLmain.a")
   142         endif()
   142         endif()
   143 
   143 
   144         set(pascal_flags "-k${SDLMAIN_LIB}" ${pascal_flags})
   144         set(pascal_flags "-k${SDLMAIN_LIB}" ${pascal_flags})
   145     endif()
   145     endif()
   146     set(pascal_flags "-k${LIBRARY_OUTPUT_PATH}/libphysfs.a" ${pascal_flags})
       
   147 endif(APPLE)
   146 endif(APPLE)
   148 
   147 
   149 if(NOT NOPNG)
   148 if(NOT NOPNG)
   150     find_package(PNG)
   149     find_package(PNG)
   151     if(${PNG_FOUND})
   150     if(${PNG_FOUND})
   198     endif()
   197     endif()
   199 else()
   198 else()
   200     message(STATUS "Video recording disabled by user")
   199     message(STATUS "Video recording disabled by user")
   201 endif()
   200 endif()
   202 
   201 
   203 set(pascal_flags "-Fl${LIBRARY_OUTPUT_PATH}" ${pascal_flags})
       
   204 
   202 
   205 set(fpc_flags ${NOEXECSTACK_FLAGS} ${pascal_flags} ${hwengine_project})
   203 set(fpc_flags ${NOEXECSTACK_FLAGS} ${pascal_flags} ${hwengine_project})
   206 
   204 
   207 if(NOT APPLE)
   205 if(NOT APPLE)
   208     #here is the command for standard executables or for shared library
   206     #here is the command for standard executables or for shared library