sysrepo: build under WSL
authorRosen Penev <rosenp@gmail.com>
Sat, 10 Sep 2022 00:46:54 +0000 (17:46 -0700)
committerRosen Penev <rosenp@gmail.com>
Wed, 14 Sep 2022 19:59:27 +0000 (12:59 -0700)
This check is for host, not cross compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
net/sysrepo/Makefile

index e660ac77aa310d16e3217d84eefc54fdb45331b6..ec2c2ce194e469cfee2313e1ec0d80dd05dbd387 100644 (file)
@@ -62,6 +62,7 @@ endef
 
 
 CMAKE_OPTIONS += \
+       -DFORCE_WSL=TRUE \
        -DENABLE_TESTS:BOOL=FALSE \
        -DBUILD_EXAMPLES:BOOL=FALSE \
        -DCMAKE_INSTALL_PREFIX=/usr \