Browse Source

UI: Set linker flags required for luajit on OSX

Colin Edwards 8 years ago
parent
commit
c9224edbad
1 changed files with 1 additions and 0 deletions
  1. 1 0
      UI/CMakeLists.txt

+ 1 - 0
UI/CMakeLists.txt

@@ -271,6 +271,7 @@ target_link_libraries(obs
 	${obs_PLATFORM_LIBRARIES})
 
 if (APPLE)
+	set_target_properties(obs PROPERTIES LINK_FLAGS "-pagezero_size 10000 -image_base 100000000")
 	set_property(
 		TARGET obs
 		APPEND