equal
deleted
inserted
replaced
144 set(SDLMAIN_LIB "${LIBRARY_OUTPUT_PATH}/libSDLmain.a") |
144 set(SDLMAIN_LIB "${LIBRARY_OUTPUT_PATH}/libSDLmain.a") |
145 endif() |
145 endif() |
146 |
146 |
147 list(APPEND pascal_flags "-k${SDLMAIN_LIB}") |
147 list(APPEND pascal_flags "-k${SDLMAIN_LIB}") |
148 endif() |
148 endif() |
|
149 |
|
150 #when you have multiple ld installation make sure you get the one bundled with the compiler |
|
151 get_filename_component(compiler_dir ${CMAKE_C_COMPILER} PATH) |
|
152 list(APPEND pascal_flags "-FD${compiler_dir}") |
149 endif(APPLE) |
153 endif(APPLE) |
150 |
154 |
151 if(NOT NOPNG) |
155 if(NOT NOPNG) |
152 find_package(PNG) |
156 find_package(PNG) |
153 if(${PNG_FOUND}) |
157 if(${PNG_FOUND}) |