Skip to content

Commit

Permalink
Fix build for Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
john-preston committed Nov 29, 2019
1 parent 3931463 commit ff82101
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion external/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ add_subdirectory(opus)
add_subdirectory(qt)
add_subdirectory(ranges)
add_subdirectory(rlottie)
add_subdirectory(sp_media_key_tap)
if (APPLE)
add_subdirectory(sp_media_key_tap)
endif()
add_subdirectory(variant)
add_subdirectory(xxhash)
add_subdirectory(zlib)
2 changes: 1 addition & 1 deletion external/openal/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if (WIN32)
)
target_link_libraries(external_openal
INTERFACE
${libs_loc}/openal-soft/build/$<IF:$<CONFIG:Debug>,Debug,Release>/OpenAL32
${libs_loc}/openal-soft/build/$<IF:$<CONFIG:Debug>,Debug,Release>/OpenAL32.lib
)
else()
target_include_directories(external_openal SYSTEM
Expand Down

0 comments on commit ff82101

Please sign in to comment.