Fixed web browser thanks to ArminW/Imprudence
This commit is contained in:
@@ -25,13 +25,13 @@ include_directories(
|
||||
|
||||
### media_plugin_base
|
||||
|
||||
if(WORD_SIZE EQUAL 64)
|
||||
if(NOT CMAKE_SIZEOF_VOID_P MATCHES 4)
|
||||
if(WINDOWS)
|
||||
add_definitions(/FIXED:NO)
|
||||
else(WINDOWS) # not windows therefore gcc LINUX and DARWIN
|
||||
add_definitions(-fPIC)
|
||||
endif(WINDOWS)
|
||||
endif (WORD_SIZE EQUAL 64)
|
||||
endif (NOT CMAKE_SIZEOF_VOID_P MATCHES 4)
|
||||
|
||||
set(media_plugin_base_SOURCE_FILES
|
||||
media_plugin_base.cpp
|
||||
@@ -47,7 +47,3 @@ add_library(media_plugin_base
|
||||
${media_plugin_base_SOURCE_FILES}
|
||||
)
|
||||
|
||||
add_dependencies(media_plugin_base
|
||||
prepare
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user