CMakeLists.txt
changeset 8597 00adaf34d2a3
parent 8558 e96bf10216ef
child 8611 90f445317e8a
--- a/CMakeLists.txt	Wed Feb 27 11:17:45 2013 -0500
+++ b/CMakeLists.txt	Wed Feb 27 23:15:37 2013 +0100
@@ -214,14 +214,15 @@
     endif()
 endif()
 
-list(APPEND pascal_flags ${fpflags_parsed}      # user flags
-                 "-vm4079,4080,4081"            # fpc output format
-                 "-B"                           # compile all units
-                 "-FE${PROJECT_BINARY_DIR}/bin" # fpc output directory
-                 "-Fl${PROJECT_BINARY_DIR}/bin" # fpc linking directory
-                 "-Cs2000000"                   # stack size
-                 "-vewnq"                       # fpc output verbosity
-                 "-dDEBUGFILE"                  # macro for engine output
+list(APPEND pascal_flags ${fpflags_parsed}        # user flags
+                 "-vm4079,4080,4081"              # fpc output format
+                 "-B"                             # compile all units
+                 "-FE${PROJECT_BINARY_DIR}/bin"   # fpc output directory
+                 "-Fl${PROJECT_BINARY_DIR}/bin"   # fpc linking directory (win/unix)
+                 "-k-L${PROJECT_BINARY_DIR}/bin"  # ld linking directory (unix/osx)
+                 "-Cs2000000"                     # stack size
+                 "-vewnq"                         # fpc output verbosity
+                 "-dDEBUGFILE"                    # macro for engine output
                  )
 list(APPEND haskell_flags "-O2" ${ghflags_parsed})