mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 15:49:25 +01:00
Build fix of linux build fix.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7296 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
e16e177148
commit
d40e7f26a0
@ -145,10 +145,12 @@ if(NOT OPENGL_GLU_FOUND)
|
||||
message(FATAL_ERROR "GLU is required but not found")
|
||||
endif()
|
||||
|
||||
include(FindOpenMP REQUIRED)
|
||||
include(FindOpenMP)
|
||||
if(OPENMP_FOUND)
|
||||
add_definitions(${OpenMP_CXX_FLAGS})
|
||||
set(CMAKE_EXE_LINKER_FLAGS ${CMAKE_EXE_LINKER_FLAGS} ${OpenMP_CXX_FLAGS})
|
||||
add_definitions("${OpenMP_CXX_FLAGS}")
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${OpenMP_CXX_FLAGS}")
|
||||
else()
|
||||
message(FATAL_ERROR "OpenMP is required but not found")
|
||||
endif()
|
||||
|
||||
include(FindALSA OPTIONAL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user