Skip to content

Commit

Permalink
Merge pull request #17 from damageboy/patch-1
Browse files Browse the repository at this point in the history
Use CMAKE_CURRENT_SOURCE_DIR for appending to CMAKE_MODULE_PATH
  • Loading branch information
tmaklin authored Jan 18, 2023
2 parents 5074452 + e139d64 commit 61bd5ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.0)
project(bxzstr)

## For FindZstd
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)

if(DEFINED ZLIB_FOUND)
if(ZLIB_FOUND)
Expand Down

0 comments on commit 61bd5ce

Please sign in to comment.