Skip to content

Commit

Permalink
static build on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
TheWillard committed Apr 25, 2020
1 parent 6439a76 commit 6ae5bc5
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,8 @@ FIND_LIBRARY(LZO2_LIBRARY NAMES lzo2 liblzo2)

# DXT
FIND_PATH(SQUISH_INCLUDE_DIR squish.h)
# Static on Windows
if(WIN32)
FIND_LIBRARY(SQUISH_LIBRARY NAMES libsquish.a)
else()
FIND_LIBRARY(SQUISH_LIBRARY NAMES libsquish.so)
endif()
FIND_LIBRARY(SQUISH_LIBRARY NAMES libsquish.a)

# OpenMP
find_package(OpenMP REQUIRED)

Expand Down

0 comments on commit 6ae5bc5

Please sign in to comment.