CMakeLists.txt
changeset 10 85496558f3a4
parent 0 d7ee4e2ed49d
child 14 f359fb8eec3c
--- a/CMakeLists.txt	Thu Dec 19 09:28:12 2013 -0500
+++ b/CMakeLists.txt	Thu Dec 19 23:04:04 2013 -0500
@@ -110,8 +110,9 @@
 )
 
 if(LINUX)
-    set_target_properties(odin PROPERTIES LINK_FLAGS "-Wl,-rpath,$ORIGIN")
+    set_target_properties(1pass PROPERTIES LINK_FLAGS "-Wl,-rpath,$ORIGIN")
     # !!! FIXME: other stuff.
+    target_link_libraries(1pass "m")
 endif()
 
 # end of CMakeLists.txt ...